package gwt.trading.client.geometry;

/**
 * @author Iulian Costan (iulian.costan@gmail.com)
 *
 */
public class Size {

	private int width;
	private int height;

	public Size(int width, int height) {
		this.width = width;
		this.height = height;
	}

	public int getHeight() {
		return height;
	}

	public int getWidth() {
		return width;
	}

	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString()
	{
	    final String TAB = ", ";
	    
	    String retValue = "";
	    
	    retValue = "Size ( "
	        + "width = " + this.width + TAB
	        + "height = " + this.height + TAB
	        + " )";
	    
	    return retValue;
	}

}
